﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    public class VideoElem : Elem
    {

        /// <summary>
        /// 视频文件类型，发送消息时进行设置
        /// </summary>
        [JsonProperty("video_elem_video_type")]
        public string Video_Elem_Video_Type { get; set; }
        /// <summary>
        /// 视频文件大小
        /// </summary>
        [JsonProperty("video_elem_video_size")]
        public int Video_Elem_Video_Size { get; set; }
        /// <summary>
        /// 视频时长，发送消息时进行设置
        /// </summary>
        [JsonProperty("video_elem_video_duration")]
        public int Video_Elem_Video_Duration { get; set; }
        /// <summary>
        /// 适配文件路径 
        /// </summary>
        [JsonProperty("video_elem_video_path")]
        public string Video_Elem_Video_Path { get; set; }
        /// <summary>
        /// 下载视频时的uuid
        /// </summary>
        [JsonProperty("video_elem_video_id")]
        public string Video_Elem_Video_Id { get; set; }
        /// <summary>
        ///  下载时用到的businessID
        /// </summary>
        [JsonProperty("video_elem_business_id")]
        public int Video_Elem_Business_Id { get; set; }
        /// <summary>
        /// 视频文件下载flag
        /// </summary>
        [JsonProperty("video_elem_video_download_flag")]
        public int Video_Elem_Video_Download_Flag { get; set; }
        /// <summary>
        /// 视频文件下载的URL
        /// </summary>
        [JsonProperty("video_elem_video_url")]
        public string Video_Elem_Video_Url { get; set; }
        /// <summary>
        /// 截图文件类型，发送消息时进行设置
        /// </summary>
        [JsonProperty("video_elem_image_type")]
        public string Video_Elem_Image_Type { get; set; }
        /// <summary>
        /// 截图文件大小
        /// </summary>
        [JsonProperty("video_elem_image_size")]
        public int Video_Elem_Image_Size { get; set; }
        /// <summary>
        /// 截图高度，发送消息时进行设置
        /// </summary>
        [JsonProperty("video_elem_image_width")]
        public int Video_Elem_Image_Width { get; set; }
        /// <summary>
        /// 截图宽度，发送消息时进行设置
        /// </summary>
        [JsonProperty("video_elem_image_height")]
        public int Video_Elem_Image_Height { get; set; }
        /// <summary>
        /// 保存截图的路径
        /// </summary>
        [JsonProperty("video_elem_image_path")]
        public string Video_Elem_Image_Path { get; set; }
        /// <summary>
        /// 下载视频截图时的ID
        /// </summary>
        [JsonProperty("video_elem_image_id")]
        public string Video_Elem_Image_Id { get; set; }
        /// <summary>
        ///  只读, 截图文件下载flag 
        /// </summary>
        [JsonProperty("video_elem_image_download_flag")]
        public int Video_Elem_Image_Download_Flag { get; set; }  // int,   
        /// <summary>
        /// 截图文件下载的URL 
        /// </summary>
        [JsonProperty("video_elem_image_url")]
        public string Video_Elem_Image_Url { get; set; }
        /// <summary>
        /// / 只读, 任务ID
        /// </summary>
        [JsonProperty("video_elem_task_id")]
        public string Video_Elem_Task_Id { get; set; }
    }
}
